/* eslint-disable no-shadow */
export function count({ search }) {
  return RSocket.rr({
    route: 'biz.coupon.bags.count',
    args: { search },
  });
}

export function search({ search, pg }) {
  return RSocket.rs({
    route: 'biz.coupon.bags',
    args: { search, pg },
  });
}
